package ui.activity.home.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.home.biz.ProductBiz;
import ui.activity.home.contract.ProductContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ProductModule {
    private ProductContract.View view;

    public ProductModule(ProductContract.View view) {
        this.view = view;
    }

    @Provides
    public ProductContract.View provideView() {
        return view;
    }

    @Provides
    public ProductBiz provideBiz() {
        return new ProductBiz();
    }
}